package org.lex.notepad.ui.action.file;

import java.awt.event.ActionEvent;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;

import javax.swing.KeyStroke;

import org.lex.notepad.ui.action.BaseNotepadAction;

public class SaveAsAction extends BaseNotepadAction {
	public SaveAsAction() {
		super();
		this.setName("Save As ...");
		this.setMnemonic(KeyEvent.VK_A);
		this.setAcceleratorKey(KeyStroke.getKeyStroke(KeyEvent.VK_A, InputEvent.ALT_MASK | InputEvent.CTRL_MASK, false));
	}

	public void actionPerformed(ActionEvent e) {
		actions.saveAsAction();
	}
}
